home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1997-04-02 | 1.1 KB | 45 lines |
- '----------------------------------------------------
- ' shade cluster v1.o
- '----------------------------------------------------
- ' keller@vip.cybercity.dk
- ' rune keller
- ' sporuplundsvej 105
- ' dk-8472 sporup
- '----------------------------------------------------
- ' finished 19/1o/1995 12:1o:41
- '----------------------------------------------------
-
- _SHADECLUSTER
-
- Procedure _SHADECLUSTER
-
- Screen Open 0,320,256,32,Lowres
- Flash Off
- Curs Off
- Hide
- Cls 0
-
- Palette 0,$300,$500,$700,$900,$B00,$D00,$F00,$F10,$F30,$F40,$F60,$F70,$F90,$FA0,$FC0,$FE0,$FF0,$FF2,$FF3,$FF5,$FF6,$FF8,$FF9,$FFB,$FFC,$FFE,$FFF,$CCC,$AAA,$666
-
- Repeat
-
- I=Rnd(3)
-
- If I=0 and X<159
- Inc X
- Else If I=1 and X>-159
- Dec X
- Else If I=2 and Y<127
- Inc Y
- Else If I=3 and Y>-127
- Dec Y
- End If
-
- Plot 160+X,128+Y,Point(160+X,128+Y)+1
-
- Until Mouse Key<>0
-
- Fade 1
- Wait 15
-
- End Proc